package com.tcoiss.datafactory.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.tcoiss.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 单据类型配置对象 bill_type
 * 
 * @author zw
 * @date 2021-05-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("bill_type")
public class BillType implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 单据类型编码 */
    @Excel(name = "单据类型编码")
    private String billTypeCode;

    /** 单据类型名称 */
    @Excel(name = "单据类型名称")
    private String billTypeName;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private String isDefault;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String status;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @Excel(name = "修改时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
